{% extends "base/base.html" %}
{% load static %}

{% block title %}
    <title>背单词</title>
{% endblock title %}

{% block css %}
    <link rel="stylesheet" href="{% static 'recite/css/recite.css' %}">
    <link rel="stylesheet" href="{% static 'recite/css/word.css' %}">
{% endblock css %}

{% block username %}
    <i class="glyphicon glyphicon-user"></i>
    {{ request.user }}
{% endblock %}

{% block sidebar %}

{% endblock sidebar %}

{% block content %}

    <div id="content" class="col-sm-12">

        <h1 class="recite-word">{{ word.word }}</h1>

        <div class="recite">

            <div class="col-sm-8">
                <!-- 会就直接下一个 -->
                <form action="" method="post">
                    {% csrf_token %}
                    <input type="hidden" name="type" value="1">
                    <button type="submit" class="btn btn-success">我会</button>
                </form>
                <!-- <a href="url/word_id/count/1" class="btn btn-success">我会</a> -->
            </div>

            <div class="col-sm-1">
                <form action="" method="post">
                    {% csrf_token %}
                    <input type="hidden" name="type" value="0">
                    <button type="submit" class="btn btn-danger">我不会</button>
                </form>
            </div>


        </div>

    </div>

{% endblock content %}
